import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

Vue.use(Antd)

//公共方法
import { common, tishi } from '../static/util.js'
Vue.prototype.$common = common
Vue.prototype.$tishi = tishi



import { baseUrl } from './http/config'
Vue.prototype.$baseUrl = baseUrl

//引入echarts
import * as echarts from 'echarts'
// import 'echarts-gl';
Vue.prototype.$echarts = echarts

// 富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

Vue.config.productionTip = false
/* eslint-disable no-new */
var vue = new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})
export default vue